package com.yijiaw.dao;

import com.yijiaw.domain.About;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage About entities.
 * 
 */
public interface AboutDAO extends JpaDao<About> {

	/**
	 * JPQL Query - findAboutById
	 *
	 */
	public About findAboutById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findAboutById
	 *
	 */
	public About findAboutById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAboutByPrimaryKey
	 *
	 */
	public About findAboutByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findAboutByPrimaryKey
	 *
	 */
	public About findAboutByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAboutByContent
	 *
	 */
	public Set<About> findAboutByContent(String content) throws DataAccessException;

	/**
	 * JPQL Query - findAboutByContent
	 *
	 */
	public Set<About> findAboutByContent(String content, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllAbouts
	 *
	 */
	public Set<About> findAllAbouts() throws DataAccessException;

	/**
	 * JPQL Query - findAllAbouts
	 *
	 */
	public Set<About> findAllAbouts(int startResult, int maxRows) throws DataAccessException;

}